/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package music;

import MidiGui.MusicFonts;
import java.awt.Font;

/**
 *
 * @author TJ
 */
public class SpacingOptions {
    private int lineSpacing=10;
    private int staffSpacing=50;
    private int notespacing=15;
    private int systemSpacing=100;
    private int wholeSpacing;
    private int quarterSpacing;
    private int eigthSpacing;
    private int sixteenthSpacing;
    public int getLineSpacing(){return lineSpacing;}
    public void setLineSpacing(int ls) {lineSpacing=ls;}
    public Font getRenderFont() {
        return MusicFonts.getFont("OpusRegular").deriveFont((float)(getLineSpacing()*4+1));
    }
    public Font getRenderFont(String s) {
        return MusicFonts.getFont(s).deriveFont((float)(getLineSpacing()*4+1));
    }
}